package dsx.lockProxy;

import java.util.List;

import dsx.biz.SuperReq;

class LockReq extends SuperReq {
	int type;	// 0 表锁，1 行锁，2 表接锁，3 行解锁
	List<String> collectionKeys;
	List<String> rowKeys;
	String ownerKey;
	int lockTimeout;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public List<String> getCollectionKeys() {
		return collectionKeys;
	}

	public void setCollectionKeys(List<String> collectionKeys) {
		this.collectionKeys = collectionKeys;
	}

	public List<String> getRowKeys() {
		return rowKeys;
	}

	public void setRowKeys(List<String> rowKeys) {
		this.rowKeys = rowKeys;
	}

	public String getOwnerKey() {
		return ownerKey;
	}

	public void setOwnerKey(String ownerKey) {
		this.ownerKey = ownerKey;
	}

	public int getLockTimeout() {
		return lockTimeout;
	}

	public void setLockTimeout(int lockTimeout) {
		this.lockTimeout = lockTimeout;
	}

	@Override
	public Object handle() {
		return null;
	}

}
